package cn.gdut.chengcai.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.CommentInfo;
import cn.gdut.chengcai.entity.CommentInfoExample;

public interface CommentInfoService {
	long countByExample(CommentInfoExample example);

	int deleteByExample(CommentInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(CommentInfo record);

	int insertSelective(CommentInfo record);

	List<CommentInfo> selectByExample(CommentInfoExample example);

	CommentInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") CommentInfo record, @Param("example") CommentInfoExample example);

	int updateByExample(@Param("record") CommentInfo record, @Param("example") CommentInfoExample example);

	int updateByPrimaryKeySelective(CommentInfo record);

	int updateByPrimaryKey(CommentInfo record);

}